package com.wang.study.model;

import lombok.Data;

@Data
public class Cart {
    private Integer id;
    private Integer userid;
    private Integer goodid;
    private Integer nums;
    private Double total;

    public Cart(){

    }
    public Cart(Integer userid, Integer goodid, Integer nums, Double total) {
        this.userid = userid;
        this.goodid = goodid;
        this.nums = nums;
        this.total = total;
    }
}
